package com.bJian.bJIanOJ.service;

import com.bJian.bJIanOJ.model.dto.question.QuestionQueryRequest;
import com.bJian.bJIanOJ.model.dto.question_submit.QuestionSubmitAddRequest;
import com.bJian.bJIanOJ.model.dto.question_submit.QuestionSubmitQueryRequest;
import com.bJian.bJIanOJ.model.entity.Question;
import com.bJian.bJIanOJ.model.entity.question_submit;
import com.bJian.bJIanOJ.model.vo.QuestionVO;
import com.bJian.bJIanOJ.model.vo.question_submitVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
* @author 27658
* @description 针对表【question_submit(题目提交)】的数据库操作Service
* @createDate 2023-10-14 16:11:40
*/
public interface question_submitService extends IService<question_submit> {


    Long doSubmit(QuestionSubmitAddRequest question_submitAddRequest);

    Page<question_submitVO> getquestionSubmitVOPage(Page<question_submit> question_submitPage, HttpServletRequest request);

    /**
     * 获取查询条件
     *
     * @param questionSubmitQueryRequest
     * @return
     */
    QueryWrapper<question_submit> getQueryWrapper(QuestionSubmitQueryRequest questionSubmitQueryRequest);


}
